using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI;

namespace ARF.Web.Controls
{
    public class PathManager : Control
    {
        private static PathManager _current;

        protected override void  OnInit(EventArgs e)
        {
            SetCurrent(this);
 	         base.OnInit(e);
        }

        private static void SetCurrent(PathManager current) { _current = current; }

        public static PathManager Current
        {
            get { return _current; }
        }

        public string XslPath(string originalPath, string xslName)
        {
            return originalPath + xslName;
        }
    }
}
